package com.guoranhao.tool.vo;

import java.io.Serializable;

/**
 * Description: PageVo.java
 * Copyright (c) Department of Research and Development/Beijing
 * All Rights Reserved.
 * @version 1.0  2018年6月15日 下午2:53:15  by 张建飞（zhangjf@cloud-young.com）创建
 */
public class PageVo<T> implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
	 * 查询记录总条数
	 */
	private int total = 0;
	/**
	 * 当前分页记录List
	 */
	private T list ;
	
	public PageVo(int total , T list){
		this.total = total ;
		this.list = list ;
	}

	/**
	 * Instantiates a new Page vo.
	 */
	public PageVo(){
	}

	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public T getList() {
		return list;
	}
	public void setList(T list) {
		this.list = list;
	}
}
